﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CentralControlDevice.Model
{
    public class DeviceDbModel
    {
        private int _Index;

        public int Index
        {
            set; get;
        }

        private int _id;

        public int id 
        {
            set; get;
        }

        private string _uuid = "";

        public string uuid
        {
            set; get;
        }

        private string _deviceid = "";

        public string deviceid
        {
            set; get;
        }

        private string _fileuuid = "";

        public string fileuuid
        {
            set; get;
        }

        private string _currentverion = "";

        public string currentverion
        {
            set; get;
        }

        private DateTime? _logintime;

        public DateTime? logintime
        {
            set; get;
        }

        private DateTime? _logouttime;

        public DateTime? logouttime
        {
            set; get;
        }

        private int _isonline;

        public int isonline
        {
            set; get;
        }

        private int _cmdtype;

        public int cmdtype
        {
            set; get;
        }

        private int _cmdresulttype;

        public int cmdresulttype 
        {
            set; get;
        }


        private DateTime? _uplodlogtime;

        public DateTime? uplodlogtime
        {
            set; get;
        }

        private ObservableCollection<FileDbModel> _FileList;

        public ObservableCollection<FileDbModel> FileList
        {
            set; get;
        }

        private FileDbModel _SelectFileDbModel;

        public FileDbModel SelectFileDbModel
        {
            set; get;
        }
    }
}
